<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.3.1.min.js"></script>
<title>Insert title here</title>
<style type="text/css">
	#top{
		height: 50px;
		width: 1100px;
		background-color:#6495ED;
		margin-top: 30px;
		margin-left: 60px;
	}
	#body{
		margin-left: 60px;
		margin-top: 30px;
	}
	#mess{
		border-radius: 25px;
		height: 50px;
		width: 200px;
		background-color: #6495ED;
	}
	#right{
		border-radius: 25px;
		height: 45px;
		width: 600px;
		/* background-color: #ffff33; */
	}
	#but{
		height: 30px;
		width: 120px;
		margin-top: 20px;
		margin-left: 240px;
		/* background-color: #1A42E6;
		color: white; */
	}
</style>
</head>
<body>
	<div id="top">
		<h1 align="left" style="color: white; margin-left: 30px">店铺信息</h1>
	</div>
	<div id="body">
		<table>
			<tr>
				<td id="mess"><h2 align="center" style="color: white;">名称：</h2></td>
				<td id="right"><h2 align="center" >${shopMessage.shopName }</h2></td>
			</tr>
			<tr>
				<td id="mess"><h2 align="center" style="color: white;">电话：</h2></td>
				<td id="right"><h2 align="center" >${shopMessage.shopTel }</h2></td>
			</tr>
			<tr>
				<td id="mess"><h2 align="center" style="color: white;">邮箱：</h2></td>
				<td id="right"><h2 align="center" >${shopMessage.shopEmail }</h2></td>
			</tr>
			<tr>
				<td id="mess"><h2 align="center" style="color: white;">身份证号：</h2></td>
				<td id="right"><h2 align="center" >${shopMessage.shopCard }</h2></td>
			</tr>
			<tr>
				<td id="mess"><h2 align="center" style="color: white;">地址：</h2></td>
				<td id="right"><h2 align="center" >${shopMessage.shopAddress }</h2></td>
			</tr>
		</table>
	</div>
	<hr>
	<div>
		<h3  id="but"><a href="${pageContext.request.contextPath}/ShopMessageUpd?shopId=${shopMessage.shopId}">基本信息修改</a></h3>
<%-- 		<input type="button" value="密码修改" onclick="goupd(${shopMessage.shopId })" id="but"/> --%>
	</div>
</body>
<script type="text/javascript">
/* 	shopQuery();
	function shopQuery(){
		var shopId = ${sessionScope.shop.shopId};
		alert(shopId);
		$.ajax({
			type:"post",//设置提交方式
			url:"${pageContext.request.contextPath}/ShopQuery",
			async:true,//表示进行异步执行
			dataType:"json",//数据的返回类型
			data:{shopId : shopId},
		});
		
	} */
</script>
</html>